﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="case.aspx.cs" Inherits="admincase" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link rel="stylesheet" href="../style.css" type="text/css" />
    <script language="javascript" type="text/javascript" src="../style/JScript.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED">
        <tr>
        <td>&nbsp;</td>
        <td width="100%" background="../images/r_0.gif"></td>
        <td>&nbsp;</td>
        </tr>
        <tr><td></td><td>

            <div>
            <table align="center" cellpadding="4" cellspacing="1" border="1" width=100%  class="toptable grid fixed">
          <tr>
            <td height="25"class="category">
            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%" class="toptable grid " >
                    <tr bgcolor="#ffffff">
                        <td width="94" height="25" bgcolor="#ffffff" class="category t2" >
                            &nbsp;办案情况管理</td>
                            <td width="903" bgcolor="#ffffff"  class="If" >&nbsp;</td>
                    </tr>
                </table>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#C4D8ED"
                    BorderWidth="0px" CellSpacing="1" Width="100%">
                    <Columns>
                        <asp:TemplateField HeaderText="选择">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="10%" />
                            <ItemTemplate>
                                <input id="Ccheck" name="Ccheck" type="checkbox" style="border:0 " value="<%# DataBinder.Eval(Container.DataItem,"ID") %>" /><%# DataBinder.Eval(Container.DataItem,"ID") %>
                            </ItemTemplate>
                            <HeaderTemplate>
                                <input id="chkall" onclick="CheckAll(this.form)" style="border-right: 0px; border-top: 0px;
                                    border-left: 0px; border-bottom: 0px" type="checkbox" />选择
                            </HeaderTemplate>
                        </asp:TemplateField>
						<asp:BoundField DataField="casecode" HeaderText="案号"
                            HtmlEncode="False">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="15%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="案由">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="25%" />
                            <ItemTemplate>
                                <a href="caseedit.aspx?id=<%# DataBinder.Eval(Container.DataItem,"ID") %>" /><%# DataBinder.Eval(Container.DataItem,"casetitle").ToString() %></a>
                            </ItemTemplate>
                        </asp:TemplateField>
						<asp:BoundField DataField="addtime" HeaderText="立案时间"
                            HtmlEncode="False" DataFormatString="{0:yyyy-MM-dd}">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="10%" />
                        </asp:BoundField>
						<asp:BoundField DataField="ygname" HeaderText="原告"
                            HtmlEncode="False">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="15%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="bgname" HeaderText="被告"
                            HtmlEncode="False">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="15%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="是否处理">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="10%" />
                            <ItemTemplate>
                                <%# checkstatus(DataBinder.Eval(Container.DataItem,"status").ToString()) %>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle BackColor="#F6F6F6" />
                    <HeaderStyle BackColor="#C4D8ED" />
                </asp:GridView>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="30">
                        <asp:Button ID="Button1" Enabled="true" runat="server" Text="删除所选" onmousemove=showBtnOver(this) onmouseout=showBtnOut(this)  CssClass="submitMiniGreen" OnClick="Button1_Click"/></td>
                  </tr>
                        <tr>
                    <td>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" FirstPageText="首页"
            LastPageText="尾页" NextPageText="下一页" NumericButtonCount="5" PageIndexBoxType="DropDownList"
            PageSize="10" PrevPageText="上一页" ShowBoxThreshold="1" ShowPageIndexBox="Always"
            TextAfterPageIndexBox="&nbsp;页" TextBeforePageIndexBox="第&nbsp;" UrlPaging="True" CustomInfoHTML="当前页%CurrentPageIndex%/%PageCount%页　共%RecordCount%条记录" CustomInfoSectionWidth="25%" CustomInfoTextAlign="Center" ShowCustomInfoSection="Left" Width="100%" OnPageChanged="AspNetPager1_PageChanged" Wrap="False" CustomInfoClass="PageText" Direction="LeftToRight" CenterCurrentPageButton="True"></webdiyer:AspNetPager>
                    </td>
                  </tr>
                </table></td>
          </tr>
        </table>
            </div>
         
        </td><td></td>
        </tr>   
        <tr>
        <td>&nbsp;</td>
        <td></td>
        <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td></td>
          <td>&nbsp;</td>
        </tr>
      </table>
    </div>
    </form>
</body>
</html>
